package vn.ugame.model.entity;

import java.util.Date;
import java.util.Locale;

@Entity
public class Item {
    @Collumn(name="itemId")
    private String id;
    private Module module;    
    private Category category;
    @Collumn(name="itemText")
    private String text;
    @Collumn(name="rate")
    private double rate;
    @Collumn(name="rateNumber")
    private int rateNumber;
    @Collumn(name="itemPath")
    private String path;
    @Collumn(name="price")
    private double price;
    @Collumn(name="downloadNumber")
    private int downloadNumber;
    @Collumn(name="modifiedDate")
    private java.util.Date modifiedDate;
    @Collumn(name="status")
    private int status;
    @Collumn(name="size")
    private long size;
    @Collumn(name="summary")
    private String summary;
    @Collumn(name="loveNumber")
    private int loveNumber;
    @Collumn(name="description")
    private String description;
    @Collumn(name="itemName")
    private String name;
    @Collumn(name="locale")
    private Locale locale;
    @Collumn(name="itemEnable")
    private boolean enable;

    public Category getCategory() {
        return category;
    }

    public void setCategory(Category category) {
        this.category = category;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public int getDownloadNumber() {
        return downloadNumber;
    }

    public void setDownloadNumber(int downloadNumber) {
        this.downloadNumber = downloadNumber;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public Locale getLocale() {
        return locale;
    }

    public void setLocale(Locale locale) {
        this.locale = locale;
    }

    public int getLoveNumber() {
        return loveNumber;
    }

    public void setLoveNumber(int loveNumber) {
        this.loveNumber = loveNumber;
    }

    public Date getModifiedDate() {
        return modifiedDate;
    }

    public void setModifiedDate(Date modifiedDate) {
        this.modifiedDate = modifiedDate;
    }

    public Module getModule() {
        return module;
    }

    public void setModule(Module module) {
        this.module = module;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPath() {
        return path;
    }

    public void setPath(String path) {
        this.path = path;
    }

    public double getPrice() {
        return price;
    }

    public void setPrice(double price) {
        this.price = price;
    }

    public double getRate() {
        return rate;
    }

    public void setRate(double rate) {
        this.rate = rate;
    }

    public int getRateNumber() {
        return rateNumber;
    }

    public void setRateNumber(int rateNumber) {
        this.rateNumber = rateNumber;
    }

    public long getSize() {
        return size;
    }

    public void setSize(long size) {
        this.size = size;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getSummary() {
        return summary;
    }

    public void setSummary(String summary) {
        this.summary = summary;
    }

    public String getText() {
        return text;
    }

    public void setText(String text) {
        this.text = text;
    }

    public boolean isEnable() {
        return enable;
    }

    public void setEnable(boolean enable) {
        this.enable = enable;
    }
    
    public Item() {
    }

    public Item(String id, String text, double rate, int rateNumber, String path, double price, int downloadNumber, Date modifiedDate, int status, long size, String summary, int loveNumber, String description, String name, Locale locale, boolean enable) {
        this.id = id;
        this.text = text;
        this.rate = rate;
        this.rateNumber = rateNumber;
        this.path = path;
        this.price = price;
        this.downloadNumber = downloadNumber;
        this.modifiedDate = modifiedDate;
        this.status = status;
        this.size = size;
        this.summary = summary;
        this.loveNumber = loveNumber;
        this.description = description;
        this.name = name;
        this.locale = locale;
        this.enable = enable;
    }
}
